package com.sheepone.distributor.autoconfigure;

import com.sheepone.distributor.config.WorkerStationConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Miss.杨
 * @description
 * @since 2023-12-07 22:04
 */
@ConfigurationProperties(prefix = "distributor")
public class WorkerStationBootConfig {
    private List<WorkerStationConfig> workerStations = new ArrayList<>();

    public List<WorkerStationConfig> getWorkerStations() {
        return workerStations;
    }

    public void setWorkerStations(List<WorkerStationConfig> workerLines) {
        this.workerStations = workerLines;
    }
}
